/**
 * Created by JF-Z on 2017/12/7.
 */
angular.module('module.devup', [
    'ngFileUpload'
])
    .config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
        $stateProvider
            .state('upload', {
                url: '/upload',
                templateUrl:  'view/upload.html',
                controller: 'UploadController',
                controllerAs: 'vm',
            })
            .state('updateNotes', {
                url: '/updateNotes',
                templateUrl:  'view/updateNotes.html',
                controller: 'UpdateNotesController',
                controllerAs: 'vm',
            })
            .state('shopList', {
            url: '/shopList',
            templateUrl:  'view/shopList.html',
            controller: 'ShopListController',
            controllerAs: 'vm',
        })
            .state('deviceList', {
                url: '/deviceList/:shopid',
                templateUrl:  'view/deviceList.html',
                controller: 'DeviceListController',
                controllerAs: 'vm',
            })


    }])